<style>
    .table-adminlog tr td {
        word-break: break-all;
    }
</style>
<table class="table table-striped table-adminlog">
    <thead>
    <tr>
        <th width="100">{:__('标题')}</th>
        <th>{:__('Content')}</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td>订单ID</td>
        <td>{$row.orderid}</td>
    </tr>
    <tr>
        <td>用户</td>
        <td><a href="javascript:;" data-url="user/user/edit/ids/{$row.user.id}" class="btn-dialog" data-original-title="{$row.user.nickname}"  data-title="{$row.user.nickname}">{$row.user.nickname}</td>
    </tr>
    <tr>
        <td>商品</td>
        <td>{$row.title}</td>
    </tr>
    <tr>
        <td>详情详情</td>
        <td>
			{foreach name='row.sku' item='product'}
			<p>{$product.product_title}: {$product.num} {$product.unit}</p>
			{/foreach}
		</td>
    </tr>
    <tr>
        <td>订单金额</td>
        <td>￥{$row.amount}</td>
    </tr>
    <tr>
        <td>支付金额</td>
        <td>￥{$row.payamount}</td>
    </tr>
    <tr>
        <td>支付类型</td>
        <td>{$row.paytime_text}</td>
    </tr>
    <tr>
        <td>状态</td>
        <td>{$row.status_text}</td>
    </tr>
    <tr>
        <td>支付时间</td>
        <td>{:datetime($row.paytime,'Y-m-d H:i:s')}</td>
    </tr>
    <tr>
        <td>下单时间</td>
		<td>{:datetime($row.createtime,'Y-m-d H:i:s')}</td>
    </tr>
    </tbody>
</table>
<div class="hide layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
        <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
    </div>
</div>
